﻿package velbus.modules.data 
{
	import flash.events.EventDispatcher;
	
	/**
	* ...
	* @author Gert Stalpaert (gert@stogo.net)
	*/
	public class Playlist extends EventDispatcher
	{
		public var fn:String;
		public var name:String;
		
		public function Playlist(fn_:String) 
		{
			super();
			fn = fn_;
			var i:int = fn.lastIndexOf("\\");
			name = fn.substr(i + 1); 
			name = name.substr(0, name.length - 4);
			//VelbusSocket.info.text += this + "\n";
		}
		
		override public function toString():String {
			return "[Playlist " + name + "]";
		}
		
	}
	
}